//
//  NetWorkHandle.h
//  NetWork
//
//  Created by lanou3g on 15/11/5.
//  Copyright © 2015年 照日格图. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^NetBlock)(id object);

@interface NetWorkHandle : NSObject


+ (void)getDataWithURLString:(NSString *)string compare:(NetBlock)block;

+ (void)postDataWithURLString:(NSString *)string
                andBodyString:(NSString *)bodyString
                      compare:(NetBlock)block;

@end
